package Radio_java;
import org.junit.Test;
import junit.framework.TestCase;

public class TestRadio extends TestCase {
	
	public TestRadio (){	
		super();
	}
	
	@Test public void testPower(){
	    Radio miradio = new Radio(false,true,89.1);
		assertEquals(true,miradio.Power());
	}
	
	@ Test public void testSaveFreq(){
		Radio miradio = new Radio(false,true,89.1);
		assertEquals(true,miradio.SaveFreq(12));	
	}
		
	
	static void main(String[] args) { 
        junit.textui.TestRunner.run(TestRadio.class); 
 
		
	}
}
	



